function ctrlInitArrowReportChartCtrl(context, selector, data){
	var context = $(selector,context);

	
	var chart1; // globally available
	$(document).ready(function() {
	      chart1 = new Highcharts.Chart({
	         chart: {
	            renderTo: data.targetId,
	            height: data.height,
	            defaultSeriesType: data.type,
	            zoomType: 'xy'
	         },
	         plotOptions: {
	             bar: {
	                dataLabels: {
	                   enabled: true
	                }
	                
	             },
	             pie: {
	                 allowPointSelect: true,
	                 cursor: 'pointer',
	                 dataLabels: {
	                    enabled: true,
	                    distance: 20,
	                    formatter: function() {
	                       return '<b>'+ this.point.name +'</b> <div style="color:grey; font-size: 11px;">'+ this.y +'</div>';
	                    } 
	                 }
	             }
	         },
	         title: {
	            text: data.title
	         },
	         xAxis: {
	            categories: data.categories,
	            title:{
	            	text: data.xName
	            	
	            }
	         },
	         yAxis: {
	            title: {
	               text: data.yName
	            }
	         },
	         series: data.series
	      });
	   });
	
	
	
	
	return;

}